kirillbdev\WCUkrShipping\Modules\Frontend\CheckoutValidator S

Total Complexity 30
Dependencies 0
Dependents 1
Total lines 135
Lines of code 72
Logical lines of code 33
Comment lines 32
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
removeDefaultFieldsFromValidation()
S
57 6 17
validateFields()
S
65 4 10
maybeDisableDefaultFields()
S
70 3 5
validateAddressShipping()
S
68 3 7
validateWarehouseShipping()
S
68 3 7
getTypeToValidate()
S
70 3 6
isNovaPoshtaSelected()
S
69 3 6
maybeAddressShippingSelected()
S
74 2 4
init()
S
74 1 4
addErrorNotice()
S
79 1 3
checkoutValidationActive()
S
79 1 3